package com.domino.shared;

import java.io.Serializable;

import com.domino.shared.SessionStateResponse;
import com.domino.shared.model.Color;

public class SessionStateResponsePlayerGaveUp extends SessionStateResponse implements Serializable {

	private Color givingUpColor;

	
	public SessionStateResponsePlayerGaveUp() {
		super(PLAYER_GAVE_UP);
	}

	public SessionStateResponsePlayerGaveUp(Color givingUpColor) {
		super(SessionStateResponse.PLAYER_GAVE_UP);
		this.givingUpColor = givingUpColor;
	}

	public Color getGivingUpColor() {
		return givingUpColor;
	}
	
}
